package com.wyt.dao;

import com.wyt.entity.Book;
import com.wyt.entity.Book2;
import com.wyt.entity.InstOrAge;
import com.wyt.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer orderid);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer orderid);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

//    订单审核查询
    List<Map> selectOrder(Map map);

    //订单历史查询
    List<Map> selectOrder2(Map map);

    //增加
    int insertOrder(Map map);

    Map selectOrder(String pid);

    //修改
    int  updateOrder(Map map);

    //删除
    int  deleteOrder(Map map);

    //修改状态
    int  updateOrderSta(Map map);

}